package com.woniuxy.controller;

import com.woniuxy.service.ProvincialService;
import com.woniuxy.util.ResponseData;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("/provincial")
public class ProvincialController {
    @Resource
    private ProvincialService provincialService;
    @GetMapping("/queryProvincial")
    public ResponseData<?> queryProvincial(){
        return provincialService.queryProvincial();
    }
}
